#include "nahkamies.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QSplashScreen *splash = new QSplashScreen;
    splash->setPixmap(QPixmap(":/splash.png"));
    splash->show();

    Qt::Alignment topRight = Qt::AlignRight | Qt::AlignTop;

    splash->showMessage(QObject::tr("Ladataan ikkunaa..."), topRight, Qt::white);
    nahkamies w;
    w.resize(640, 480);
    w.setStyleSheet("QStatusBar, QMainWindow { background-color: #888888; border-top: 1px solid #555555; }");

    w.show();
    splash->finish(&w);
    delete(splash);

    return a.exec();
}
